package com.github.androiddevelopmentframework.mvp.baiduInterface;

import com.github.androiddevelopmentframework.ApiServer;
import com.github.freewu.mvp.mvpInterface.MvpInterface;
import com.google.gson.JsonObject;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;

/**
 * Created by free on 16-10-18.
 */

public interface BaiduInterface extends MvpInterface {
    public interface ViewInterface extends MvpInterface.ViewInterface{
        void setText(String string);
    }
    public interface ApiServer {
         @Headers("cache:5000000")
         @GET("http://www.baidu.com")
         Call<String> request();
    }
}
